package com.zjsy.service;

import java.util.List;

import com.zjsy.page.PageBean;
import com.zjsy.po.Magazine;
import com.zjsy.po.MagazineNewList;
import com.zjsy.po.MagazineNews;

public interface MagazineService {

	public void addMagazine(Magazine magazine);
	
	public void addMagazineNews(MagazineNews magazinenews);
	

	//查找所有杂志
	public List<Magazine> findMagazine();
	
	public List<MagazineNewList> findMagazineNew();
	
	//查找杂志--分页
	public PageBean<Magazine> findMagazineByPage(int pc);
	
	public PageBean<MagazineNewList> findMagazineNewByPage(int pc);
	
	
	public Magazine findMagazineById(String id);
	
	public void updateMagezine(Magazine magazine);
	
    public void  deleteMagazineById(String id);
    
    public MagazineNews findMagazineNewsById(String id);
    
    public void updateMagazineNews(MagazineNews magazinenews);
    
    public void deleteMagazineNewsById(String id);
    
    
}
